<?php
/**
 * LICENSE
 *
 * This source file is subject to the new BSD license that is bundled
 * with this package in the file license.txt or that can be found at 
 * http://code.google.com/p/billboardce/wiki/License.
 *
 * @package    OAuth_Signature_Method
 * @category   Library
 * @license    http://code.google.com/p/billboardce/wiki/License New BSD License
 * @version    SVN: $Id: $
 */

/**
 * @package    Oauth_Signature_Method
 * @category   OAuth
 */
class Oauth_Signature_Method
{
	public function checkSignature(&$request, $consumer, $token, $signature) {
		$built = $this->buildSignature($request, $consumer, $token);
		return $built == $signature;
	}
}